import {Component, OnInit} from "@angular/core";
import {LoginService} from "../service/login.service";
import {FrontUser} from "../entity/User";
@Component({
  selector: 'rest-pas',
  templateUrl: './reset_pas.html',
})
export class ResetPaswordComponent implements  OnInit{
  user:FrontUser=new FrontUser();
  constructor(public loginservice:LoginService){}
  public Reset(user:FrontUser){

   this.loginservice.ResetPas(user);
  }
  ngOnInit(): void {
  }

}
